]> dgit.raspbian.org Git - gnome-shell.git/commit
NetworkMenu: fix some bugs for status items
authorGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 31 Mar 2011 21:23:29 +0000 (23:23 +0200)
committerDan Winship <danw@gnome.org>
Mon, 11 Apr 2011 14:38:00 +0000 (10:38 -0400)
commit2d855ce5cf38c24cdaf12e4987cd9bab4bfe4360
tree6214b00c85a35880e05db2e136b29e6a4c291f90
parentb2b685e46d489f101b94f1ad23c0794804c274fc
NetworkMenu: fix some bugs for status items

When more than one device exists, we need to reset the section title's
device to null, and in that case we must show nothing (neither the switch
nor the label, but an empty label is OK anyway). Also, we need to
update the device statusItem immediately when constructing it, as we
may not get any state-changed.

https://bugzilla.gnome.org/show_bug.cgi?id=646074
js/ui/status/network.js